home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / 4dos24h.zip / 4DOS24H.DOC < prev   
Text File  |  1990-10-20  |  5KB  |  113 lines

  1.  
  2.  
  3.                   ┌────────────────────────────────────┐
  4.                   │4DOS24H - DOS CRITICAL ERROR HANDLER│
  5.                   │                                    │
  6.                   │   for JP SOFTWARE 4DOS utility     │
  7.                   └────────────────────────────────────┘
  8.  
  9.  
  10.                     Author : Patrick Philippot - 1990
  11.  
  12.  
  13.            This  software  is  released  to  the  Public Domain. Since this
  14.       program  is  4DOS  specific,  JP  Software  is herewith authorized to
  15.       include this utility in the 4DOS package without any claim from me.
  16.  
  17.            This  software  is  free.  This means that nobody can charge any
  18.       amount of money for 4DOS24H. In any form, for any reason.
  19.  
  20.                      ********************************
  21.  
  22.  
  23.      ┌─────────────────────────────────────────────────────────────────────┐
  24.      │     WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING!  │
  25.      │                                                                     │
  26.      │     THIS  PROGRAM  WILL  WORK  ONLY  IF  4DOS  IS INSTALLED. IT ALSO│
  27.      │REQUIRES DOS VERSION 3.0 OR ABOVE.                                   │
  28.      └─────────────────────────────────────────────────────────────────────┘
  29.  
  30.            4DOS24H  has  been  written  to illustrate the good behaviour of
  31.       4DOS  regarding  the  handling  of  INT  24H.  With  COMMAND.COM it's
  32.       impossible  to write such a TSR because the INT 24H vector address is
  33.       not  taken  from the PSP (although the DOS technical reference claims
  34.       COMMAND.COM  does  so)  but  from  a  hard-coded value in COMMAND.COM
  35.       itself.
  36.  
  37.            4DOS   behaves  (almost)  exactly  like  described  in  the  DOS
  38.       Technical Reference. This made possible to write this utility.
  39.  
  40.            4DOS24H  is  a  replacement  for the standard DOS Critical Error
  41.       Handler  which  issues  the  "Abort,  Retry, Ignore, Fail ?" message.
  42.       The  standard  handler  has  some  weaknesses. First of all the above
  43.       prompt  overwrites  any  data  on  the screen and doesn't restore the
  44.       user  screen.  This is not important while at the DOS prompt but very
  45.       unpleasant  when  a  critical  error  happens  within an application.
  46.       Moreover,  the  standard  handler doesn't give much information about
  47.       the error which occured.
  48.  
  49.            4DOS24H fixes these two problems.
  50.  
  51.            When  an  error  occurs, a window is opened prompting for a user
  52.       response.  As soon as the user has entered his response the screen is
  53.       restored.
  54.  
  55.            4DOS24H gives additional information about what happened:
  56.  
  57.            The  "Disk  Error"  field  is  set to Y or N to indicate whether
  58.       the error is related to a disk drive.
  59.  
  60.            In case of a disk error three additional fields are set:
  61.  
  62.            Error type:   D --> indicates a DOS area error
  63.                          T --> indicates a FAT area error
  64.                          R --> indicates a ROOT directory error
  65.                          F --> indicates a FILES area error
  66.  
  67.            Read/Write    R --> indicates a READ error
  68.                          W --> indicates a WRITE error
  69.  
  70.            Drive         The letter indicates which drive is
  71.                          in error
  72.  
  73.            If  the  error  occured on a character device, the device driver
  74.       name is also displayed.
  75.  
  76.            Finally, a text is displayed giving additional details about the
  77.       error which occured.
  78.  
  79.            If  the  user  enters  a  response which is not allowed, 4DOS24H
  80.       automatically translates it to a valid one. This is why you must have
  81.       DOS 3.0 or above.
  82.  
  83.            4DOS24H  takes no parameter. Just load it from your autoexec.bat
  84.       or from the DOS command line.
  85.  
  86.            4DOS24H  will  be  really  useful  for  applications  that don't
  87.       process DOS critical errors themselves.
  88.  
  89.            This version of 4DOS24H can be loaded high using QEMM or 386 MAX
  90.       (tested with QEMM).
  91.  
  92.  
  93.            LIMITATIONS:
  94.            ************
  95.  
  96.            1.  Graphics  mode are not supported. In that case 4DOS24H calls
  97.       the standard interrupt handler.
  98.  
  99.            2. 40 columns text modes are not supported.
  100.  
  101.            3. The code can be optimized. The source code is also available.
  102.       Feel free to study it and to suggest modifications/enhancements. This
  103.       is  quick and dirty code. To understand it you'll need at least a DOS
  104.       Technical  Reference  or the Duncan "Bible". You'll also need to read
  105.       the related discussion in 4DOS FORUM on Compuserve (GO PCVENB).
  106.  
  107.  
  108.            Have fun!
  109.  
  110.            Patrick Philippot - 10/20/90
  111.            France
  112.            CIS : 72561,3532
  113.